package com.link.base.base.expenseapplication.dao.mybatis.mapper;

import com.link.base.base.expenseapplication.model.ApplicationProduct;
import com.link.base.base.expenseapplication.model.ApplicationProductDTO;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 费用申请-门店-产品-费用申请-门店-产品表
 *
 * @author 黄正杨
 * @date 2019/04/16 19:06
 */
public interface ApplicationProductMapper extends BasicMapper<ApplicationProduct> {

    /**
     * 根据费用编码获取计算金额的数据
     *
     * @author 黄正杨
     * @date 2019/04/16 19:06
     * @param list 费用编码集合
     * @return List
     * @throws Exception
     */
    List<ApplicationProductDTO> queryByChargeIds(List<Long> list) throws Exception;
}
